#app {
  .root-container {
    height: 100%;
    background-color: #f4f6f9;
  }
  .el-header {
    padding: 0;
    z-index: 1002;
    padding-left: 200px;
    position: relative;
    box-shadow: 5px 0px 10px rgba(0, 0, 0, 0.5);

    > .el-menu {
      background-color: transparent;
      border-bottom: none;
    }

    > .logo {
      width: 200px;
      height: 100%;
      left: 0;
      line-height: 60px;
      text-align: center;
      position: absolute;
      &.folded {
        width: 60px;
      }
    }
  }

  .el-aside {
    transition: width 0.28s;
    > .el-menu {
      position: absolute;
      z-index: 1001;
      border: none;
    }
  }

  .page-content {
    flex-grow: 100;
  }

  .app-footer {
    height: 50px;
    width: 100%;
    font-size: 14px;
    line-height: 50px;
    text-align: center;
  }
  // 侧栏收起时
  .root-container.sidebarFolded {
    .sidebar-container {
      width: 60px;
    }

    .main-container {
      margin-left: 60px;
    }

    .el-header {
      padding-left: 60px;
    }
  }

  // 侧边栏
  .sidebar-container.el-menu {
    width: 200px;
    height: 100%;
    background-color: transparent;
    .el-menu {
      background-color: transparent;
    }
    &.el-menu--collapse .el-menu {
      background-color: #FFF;
    }

    &.el-menu--collapse {
      > .el-menu-item, > .el-submenu > .el-submenu__title {
        padding: 0 !important;
        text-align: center;
        font-size: 24px;
      }

      .fa {
        margin-right: 0;
        font-size: 24px;
      }
    }

    a {
      display: inline-block;
      color: inherit;
      width: 100%;
    }
    .fa {
      margin-right: 16px;
      font-size: 20px;
    }
    .el-menu-item {
      background-color: transparent;
      &:hover, &:focus {
        background-color: rgba(0,0,0,.2);
      }
    }
    .el-submenu__title:hover {
      background-color: rgba(0,0,0,.2);
    }
  }
  
}
